package edu.xupt.ediction;

import edu.xupt.ediction.slice.MainAbilitySlice;
import edu.xupt.ediction.slice.SearchAbilitySlice;
import edu.xupt.ediction.slice.SignAbilitySlice;
import ohos.aafwk.ability.Ability;
import ohos.aafwk.content.Intent;

public class MainAbility extends Ability {
    @Override
    public void onStart(Intent intent) {
        super.onStart(intent);
        super.setMainRoute(MainAbilitySlice.class.getName());
        this.addActionRoute("signabilityslice", SignAbilitySlice.class.getName());
        this.addActionRoute("searchabilityslice",SearchAbilitySlice.class.getName());
    }
}
